natural log and log base 10 in python

39

# Natural log in python and log base 10
import numpy as np
#natural log in python
x = np.log(8)
#log base 10 in python
x2 = np.log10(8)

Comments

Submit
0 Comments